package cn.codeforfun.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter;

/**
 * Package cn.codeforfun
 * Project springboot-webservice-demo
 * Author Bin.Wang
 * Created on 2017/4/13 15:33
 * version 1.0.0
 */
@Configuration
public class WSConfig {
  @Bean
  public SimpleJaxWsServiceExporter simpleJaxWsServiceExporter() {
    SimpleJaxWsServiceExporter simpleJaxWsServiceExporter = new SimpleJaxWsServiceExporter();
    simpleJaxWsServiceExporter.setBaseAddress("http://localhost:9999/");
    return simpleJaxWsServiceExporter;
  }
}
